#ifndef IMG_H
#define IMG_H
#include "widget.h"
typedef struct
{
    widget_t obj;
    const uint8_t *imgSrc;
} may_img_t;

may_img_t *img_create(void *parent, int x, int y, int w, int h, const uint8_t *imgSrc);
void img_remove(may_img_t *img);
void img_set_imgSrc(may_img_t *img, const uint8_t *imgSrc);
void img_render(void *obj);

#endif